<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>salesman测试系统 - 登录</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
	
    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
   
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
    <style>
    .form-yzm{
    	width:60%;
    	display: inline-block;
    }
    .yzmtp{
    	width:38%;
    	display: inline-block;
    	height: 34px;
    }
    .left-al{
    	text-align: left;
    }
    .red-font{
    	color:red;
    }
    .m-t .form-group input{
        height: 26px !important;
        color:#0b1516;
        font-size: 14px;
    }
     .m-t .form-group input::-webkit-input-placeholder{
       color:#0b1516;
     }
      .m-t .form-group input:-moz-input-placeholder{
       color:#0b1516;
     }
        .m-t .form-group input::-moz-input-placeholder{
       color:#0b1516;
     }
        .m-t .form-group input::-ms-input-placeholder{
       color:#0b1516;
     }
    </style>
</head>

<body class="gray-bg" style="background: #d0f3f6;height: 100%;position: relative;">
    <div style="width: 100%;height: 92%;position: relative;background:url(__STATIC__/layout/img/logindd.png) left top no-repeat;background-size:79%;">
      
    </div>
      <div style="width: 460px;height: 438px;position: absolute;right: 6%;bottom: 1%;background: url(__STATIC__/layout/img/loginuser.png) no-repeat;background-size:100%;" class=" animated fadeInDown">
            <form class="m-t" method="post" role="form" action="{:url('login/checkLog')}" style="width: 50%;margin:154px auto 0">
                <div class="form-group">
                    <input type="text" name="login_name" class="form-control" placeholder="用户名" value="{$lname}" required="">
                </div>
                <div class="form-group">
                    <input type="password" name="login_pwd" class="form-control" placeholder="密码" required="">
                </div>
                 <div class="form-group left-al">
                    <input type="text" name="login_verify" class="form-control form-yzm" placeholder="验证码" required="">
                    <image src="{:url('login/loginVerifyCode')}" class="yzmtp"/>
                </div>
              <div class="form-group text-center" style="width: 100%;text-align: center;margin-top: 20px">  <button type="submit" class="btn btn-success full-width m-b" style="width:50% !important">登 录</button></div>

                <p class="text-muted text-center red-font"> {$error_message}
                </p>
               

            </form>
        </div> 
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>

   
	<script>
		$(".yzmtp").click(function(){
			$(this).attr("src","{:url('login/loginVerifyCode')}");
		})
	</script>
</body>

</html>
